7.7
HIGH CVSS 4.0
CVE-2025-48060
jq Heap Buffer Overflow Vulnerability
Description

jq is a command-line JSON processor. In versions up to and including 1.7.1, a heap-buffer-overflow is present in function `jv_string_vfmt` in the jq_fuzz_execute harness from oss-fuzz. This crash happens on file jv.c, line 1456 `void* p = malloc(sz);`. As of time of publication, no patched versions are available.

INFO

Published Date :

May 21, 2025, 6:15 p.m.

Last Modified :

June 20, 2025, 5:39 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-48060 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Jqlang jq
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 HIGH [email protected]
Solution
Update jq to a version that addresses the heap-buffer-overflow vulnerability.
  • Update jq to a patched version when available.
  • Monitor for security advisories for jq.
Public PoC/Exploit Available at Github

CVE-2025-48060 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-48060.

URL Resource
https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w Exploit Vendor Advisory
https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-48060 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-48060 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

github runner

Dockerfile Shell

Updated: 1 month, 1 week ago
2 stars 0 fork 0 watcher
Born at : March 4, 2025, 9:38 p.m. This repo has been linked 43 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-48060 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-48060 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 20, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:* versions up to (including) 1.7.1
    Added Reference Type CISA-ADP: https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w Types: Exploit, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w Types: Exploit, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    May. 21, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w
  • New CVE Received by [email protected]

    May. 21, 2025

    Action Type Old Value New Value
    Added Description jq is a command-line JSON processor. In versions up to and including 1.7.1, a heap-buffer-overflow is present in function `jv_string_vfmt` in the jq_fuzz_execute harness from oss-fuzz. This crash happens on file jv.c, line 1456 `void* p = malloc(sz);`. As of time of publication, no patched versions are available.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-121
    Added Reference https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.7
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact